#ifndef INFOINQUIRE_H
#define INFOINQUIRE_H

#include <QMainWindow>
#include <QNetworkAccessManager>
#include <QTableWidget>
#include <QTimer>
#include "softkeyboard.h"
#include <QDateTime>

namespace Ui {
class InfoInquire;
}

class InfoInquire : public QMainWindow
{
    Q_OBJECT

public:
    explicit InfoInquire(QWidget *parent = nullptr);
    ~InfoInquire();

    void ParkingSelect();
    void InTableSelect();
    void FreeSelect();
    bool eventFilter(QObject *watched, QEvent *event);
public slots:
    void onCellClicked(int row, int column);
    void on_pushButton_clicked();
    void Received(QNetworkReply *reply);
private slots:
    void on_pushButton_2_clicked();


private:
    Ui::InfoInquire *ui;
    SoftKeyboard *softKeyboard;
    QNetworkAccessManager *networkManager;
    //判别读到的数据个数
    int row;
    //需要打印到tablewidget上的数据
    QString license_plate;
    int curr_status ;
    QString spot_id ;
    QString enter_time;
    QString enter_driver;
    QString exit_driver;
    QString exit_time;
    int cost;


};

#endif // INFOINQUIRE_H
